Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Binding Roslyn Analyzers #301

Merged
merged 6 commits into from
May 3, 2024

Conversation

allantargino
Copy link
Member

This PR adds 3 Roslyn analyzers related to attribute binding:

  • OrchestrationTriggerBindingAnalyzer: Analyzer that reports when 'OrchestrationTriggerAttribute' is not used with a 'TaskOrchestrationContext'.
  • DurableClientBindingAnalyzer: Analyzer that reports when 'DurableClientAttribute' is not used with a 'DurableTaskClient'.
  • EntityTriggerBindingAnalyzer: Analyzer that reports when 'EntityTriggerAttribute' is not used with a 'TaskEntityDispatcher'.

@allantargino allantargino requested review from jviau and bachuv May 2, 2024 20:02
src/Analyzers/KnownTypeSymbols.cs Outdated Show resolved Hide resolved
@jviau
Copy link
Member

jviau commented May 2, 2024

Can we also organize all functions-specific analyzers under a Functions folder?

@allantargino allantargino merged commit 11a6f12 into microsoft:main May 3, 2024
2 checks passed
@allantargino allantargino deleted the bindings-analyzer branch May 3, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants